@charset "utf-8";

body{
    background-color: rgb(243,245,248);
}
.container{
    width: 1000px;
}
/* 网站顶部 */
.header{
    width: 100%;
    height: 80px;
    background-color: #fff;
    padding-top: 26px;
    box-sizing: border-box;
    position: static;
}
.header span{
    line-height: 30px;
    float: right;
}
/* 网站主体 */
.main{
    width: 1000px;
    height: 600px;
    background-color: #fff;
    margin: 0 auto;
    margin-top: 66px;
}
.main .form{
    width: 420px;
    height: 560px;
    margin: 0 auto;
    padding-top:40px;
}
.form h1{
    font-size: 38px;
    font-weight: normal;
    margin-bottom: 20px;
}
.form h2{
    font-weight: normal;
}
.form p:nth-child(3){
    background-color: #ED510A;
    height: 34px;
    line-height: 34px;
    border-radius: 3px;
    text-indent: 38px;
    color: #fff;
    margin: 10px 0 20px 0;
    background-image: url(../img/reg-gift.png);
    background-repeat: no-repeat;
    background-position: 16px 6px;
}
.form input{
    width: 420px;
    height: 40px;
    outline: none;
    border: 1px solid #eee;
    margin-bottom: 25px;
    border-radius: 3px;
    text-indent:15px;
    font-size: 14px;
}
.form p:nth-child(8){
    font-size: 12px;
    height: 20px;
}
.form .che input{
    width: 12px;
    height: 12px;
}
.form>button:last-child{
    height: 40px;
    width: 420px;
    box-sizing: border-box;
    border: none;
    cursor: pointer;
    background-color: #eee;
    color:#fff;
    margin-top: 20px;
}
.code{
    position: relative;
}
.code button{
    position: absolute;
    height: 42px;
    width: 80px;
    border: none;
    font-size: 12px;
    top:0;
    right: -2px;
    border-radius: 3px;
    cursor: pointer;
    background-color:#ED510A;
    color: #fff;
}
.form p{
    position: relative;
}
p img:nth-child(2){
    position: absolute;
    right: 5px;
    top: 15px;
    cursor: pointer;
    display: none;
}
.code img:nth-child(2){
    position: absolute;
    right: 85px;
    top: 15px;
    cursor: pointer;
}
p span:nth-child(3){
    position: absolute;
    right: -140px;
    top: 15px;
    font-size: 12px;
    color: #f00;
    background-image: url(../img/sprite2.png);
    background-position: 8px 16px;
    text-indent: 25px;
    display: inline-block;
    height: 16px;
    display: none;
}
.code span:nth-child(3){
    right: -138px;
}
.username span:nth-child(3){
    right: -170px;
}
.tel span:nth-child(3){
    right: -131px;
}
p span:last-child{
    position: absolute;
    right: -25px;
    top: 13px;
    background-image: url(../img/对勾.png);
    background-repeat: no-repeat;
    background-size: 20px 20px;
    display: inline-block;
    height: 20px;
    width: 20px;
    display: none;
}
.pwd .eye1,.eye2{
    position: absolute;
    top: 14px;
    right: 30px;
    cursor:pointer;
    display: none;
}
.pwd .active{
    display: block;
}